Imports

Define Parameters and Variables

We load only the relevant part of the audio file here. Audio is loaded in mono, and sample rate is unchanged.

Extract sarod and tabla onsets from the annotation file

Extract gat annotations present between start_time and end_time

Use the sarod and tabla audio to generate spectograms

Play the audio being analysed

Plotting the spectograms of tabla and sarod

Audio mixed with clicks at the sitar onset points lower pitch - tabla, higher pitch - sarod

Audio with just sarod clicks

Audio with just tabla clicks